package com.gwnet.shop.domain;


import java.util.Date;

/**
 * 购物车对象 shop_cart
 * 
 * @author zhangwanpeng
 * @date 2024-08-06
 */
public class ShopCart
{

    /** 自增id */
    private Long id;

    /** 商户 */
    private String tenantId;

    /** 所属用户 */
    private Long userId;

    /** 商品规格组合 */
    private Long specGroupId;

    /** 购买数量 */
    private Integer quantity;

    /**
     * 创建时间
     */
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getSpecGroupId() {
        return specGroupId;
    }

    public void setSpecGroupId(Long specGroupId) {
        this.specGroupId = specGroupId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
